#ifndef PHP_DEBUG_PROFILER_CLASS
#define PHP_REGISTRY_CLASS

#include "php.h"
#include <stdexcept>
#include <functional>

zend_class_entry *php_debug_profiler_ce; 
zend_object_handlers php_debug_profiler_object_handlers; 

#define DEBUG_PROFILER_CLASS_NAME EVILWORLDS_NS "\\Debug\\Profiler"

PHP_METHOD(Profiler, start); 
PHP_METHOD(Profiler, end); 
PHP_METHOD(Profiler, setEnable); 
PHP_METHOD(Profiler, getAll); 
PHP_METHOD(Profiler, closeAll); 

static inline void init_class_debug_profiler(); 
static inline void destroy_class_debug_profiler(); 
#endif // PHP_DEBUG_PROFILER_CLASS
